package com.umpay.dto.merBusi.req.bindcard;


import com.umpay.annotation.Pattern;
import com.umpay.dto.merBusi.req.CommonBusiReq;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 
 * @ClassName: BindcardCfmBusiReq  
 * @Description: 绑卡确认业务请求类 
 * @author zhangtao  
 * @date Jan 22, 2018
 */
public class BindcardConfirmBusiReq extends CommonBusiReq{
	
	/**
	 * 商户号
	 */
	@NotEmpty(message = "商户号不能为空")
	@Pattern(message="商户号格式不正确")
	private String merId;
	
	/**
	 * 业务产品号
	 */
	@NotEmpty(message = "业务产品号不能为空")
	@Pattern(message="业务产品号格式不正确")
	private String bProductId;
	
	/**
	 * 支付产品号
	 */
	@NotEmpty(message = "支付产品号不能为空")
	@Pattern(message="支付产品号格式不正确")
	private String pProductId;
	
	/**
	 * 联动订单号
	 */
	private String tradeNo;
	
	/**
	 * 联动会员号
	 */
	@NotEmpty(message = "联动用户号不能为空")
	@Pattern(message="联动用户号格式不正确")
	private String userId;
	
	/**
	 * 短信验证码
	 */
	@NotEmpty(message = "短信验证码不能为空")
	@Pattern(message="短信验证码格式不正确")
	private String verifyCode;

	public String getMerId() {
		return merId;
	}

	public void setMerId(String merId) {
		this.merId = merId;
	}

	public String getbProductId() {
		return bProductId;
	}

	public void setbProductId(String bProductId) {
		this.bProductId = bProductId;
	}

	public String getpProductId() {
		return pProductId;
	}

	public void setpProductId(String pProductId) {
		this.pProductId = pProductId;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getVerifyCode() {
		return verifyCode;
	}

	public void setVerifyCode(String verifyCode) {
		this.verifyCode = verifyCode;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("BindcardConfirmBusiReq [merId=");
		builder.append(merId);
		builder.append(", bProductId=");
		builder.append(bProductId);
		builder.append(", pProductId=");
		builder.append(pProductId);
		builder.append(", tradeNo=");
		builder.append(tradeNo);
		builder.append(", userId=");
		builder.append(userId);
		builder.append(", verifyCode=");
		builder.append(verifyCode);
		builder.append(", rpid=");
		builder.append(rpid);
		builder.append(", version=");
		builder.append(version);
		builder.append(", reqDate=");
		builder.append(reqDate);
		builder.append(", reqTime=");
		builder.append(reqTime);
		builder.append(", accessName=");
		builder.append(accessName);
		builder.append(", accessType=");
		builder.append(accessType);
		builder.append(", depBankMerId=");
		builder.append(depBankMerId);
		builder.append("]");
		return builder.toString();
	}

	
	
	
}
